import java.util.Scanner;
public class Test15 {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        System.out.print("请输入华氏温度：");
        double f=scanner.nextDouble();
        double c=(f-32)*5/9;
        System.out.println(f + "°F = " + c + "°C");
    }
}